package com.ty.user.starter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ty.user.starter.entity.User;
import com.ty.user.starter.entity.criteria.UserCriteria;
import com.ty.user.starter.entity.vo.UserVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author minku
 * @since 2021-10-15
 */
public interface UserMapper extends BaseMapper<User> {
    IPage<UserVo> findAll(Page<?> page, @Param("criteria") UserCriteria criteria);
}
